.class public Lcom/a0soft/gphone/app2sd/main/NotiWnd;
.super Landroid/app/Activity;
.source "NotiWnd.java"


# static fields
.field private static final b:Ljava/lang/String;


# instance fields
.field private a:Landroid/os/Handler;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 20
    const-class v0, Lcom/a0soft/gphone/app2sd/main/NotiWnd;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/a0soft/gphone/app2sd/main/NotiWnd;->b:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 14
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/a0soft/gphone/app2sd/main/NotiWnd;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 14
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/NotiWnd;->a:Landroid/os/Handler;

    return-object v0
.end method


# virtual methods
.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 85
    const/16 v0, 0x64

    if-ne p1, v0, :cond_0

    .line 86
    invoke-static {p0}, Lcom/a0soft/gphone/app2sd/main/PersistentToast;->a(Landroid/content/Context;)V

    .line 88
    invoke-virtual {p0}, Lcom/a0soft/gphone/app2sd/main/NotiWnd;->finish()V

    .line 91
    :cond_0
    invoke-super {p0, p1, p2, p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V

    .line 92
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 4
    .parameter

    .prologue
    .line 25
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 27
    new-instance v0, Lcom/a0soft/gphone/app2sd/main/ac;

    invoke-direct {v0, p0}, Lcom/a0soft/gphone/app2sd/main/ac;-><init>(Lcom/a0soft/gphone/app2sd/main/NotiWnd;)V

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/NotiWnd;->a:Landroid/os/Handler;

    .line 48
    invoke-virtual {p0}, Lcom/a0soft/gphone/app2sd/main/NotiWnd;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    .line 50
    if-eqz v0, :cond_0

    .line 51
    invoke-virtual {v0}, Landroid/net/Uri;->getHost()Ljava/lang/String;

    move-result-object v0

    .line 55
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 56
    invoke-virtual {p0}, Lcom/a0soft/gphone/app2sd/main/NotiWnd;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 62
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/NotiWnd;->a:Landroid/os/Handler;

    const/16 v2, 0x65

    invoke-static {v1, v2, v0}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    .line 64
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/NotiWnd;->a:Landroid/os/Handler;

    const-wide/16 v2, 0x12c

    invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    .line 68
    :cond_0
    return-void
.end method

.method protected onResume()V
    .locals 0

    .prologue
    .line 76
    invoke-super {p0}, Landroid/app/Activity;->onResume()V

    .line 78
    invoke-static {p0}, Lcom/a0soft/gphone/app2sd/main/PersistentToast;->a(Landroid/content/Context;)V

    .line 79
    return-void
.end method
